# coding:utf-8
import uuid
from datetime import datetime
from flask import jsonify
from flask_restful import Resource, reqparse
from model.model_item import Item as M_Item
parser = reqparse.RequestParser()


class Item(Resource):
    def get(self):
        item = M_Item()
        item.number = 'aaaaa'
        item.name = 'bbbbbbb'
        rs = item.save(force_insert=True)
        return rs
